package cn.m1c.cntt.wuhan2020.cnttlifegoods

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.context.annotation.EnableAspectJAutoProxy
import org.springframework.scheduling.annotation.EnableAsync
import org.springframework.transaction.annotation.EnableTransactionManagement

@SpringBootApplication
//@EnableAspectJAutoProxy //开启切面
//@EnableAsync //为了让@Async注解能够生效，还需要在Spring Boot的主程序中配置@EnableAsync
//@EnableTransactionManagement //增加事务
class CnttLifegoodsApplication

fun main(args: Array<String>) {
	runApplication<CnttLifegoodsApplication>(*args)
}
